﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using UM_SERVER.ProcessModel;

namespace UM_SERVER.Triggers.TriggerObject
{
    class DeleteFriendTrigger : BaseTrigger
    {
        public DeleteFriendTrigger(String Key) : base(Key)
        {
        }

        public override void Trigger()
        {
            throw new NotImplementedException();
        }

         public new void Trigger(String username, String FriendName, DELETE_FRIEND_STATE DeleteFriendState)
        {
            TriggersProcessModel.Boardcast_DeleteFriendMessage(username, FriendName,DeleteFriendState);
        }

        /// <summary>
        ///     删除好友状态
        /// </summary>
        public enum DELETE_FRIEND_STATE
        {
            /// <summary>
            ///     删除成功
            /// </summary>
            SUCESSFUL,
            /// <summary>
            ///     删除失败
            /// </summary>
            FAIL
        }
    }
}
